.AccidentInsurePage {
  width: 100%;
  background-color: #f4f4f4;
  .et-flex-column-center();

  .groupInsure {
    width: @content-width;
    margin-top: 20px;
    .et-flex-spacebetween();
    align-items: flex-start;

    .insure-content-left {
      width: 880px;
      background-color: white;

      .insure-header {
        width: 100%;
        height: 60px;
        box-sizing: border-box;
        padding-left: 26px;
        .et-flex-start();

        img {
          width: 16px;
          margin-right: 10px;
        }

        span {
          color: #666;
        }
      }

      .insure-container {
        width: 100%;
        box-sizing: border-box;
        padding: 0 26px;

        .policyholder-information {
          width: 100%;
          padding-bottom: 20px;
          border-bottom: 1px solid #e3e3e3;
          .et-flex-column-normal();

          .groupaccidentText {
            margin-top: 25px;
            width: 100%;
            .et-flex-spacebetween();

            .plan {
              font-size: 18px;
              color: @primary-color;
              .et-flex-start();

              &::before {
                content: "";
                width: 4px;
                height: 21px;
                background-color: @primary-color;
                margin-right: 20px;
              }
            }

            .edit-btn {
              width: 60px;
              height: 25px;
              background-color: #e7f4f8;
              color: @second-color;
              border-radius: 12px;
              line-height: $height;
              text-align: center;
              cursor: pointer;
              user-select: none;

              &:hover {
                background-color: @second-color;
                color: white;
              }

              .icon {
                margin-right: 3px;
              }
            }
          }

          .insure-date1 {
            width: 100%;
            margin-top: 20px;

            .insure-date1-rows {
              width: 100%;
              .et-flex-column-normal();

              .insure-date1-row {
                width: 100%;
                height: 40px;
                .et-flex-normal();

                &:first-child {
                  margin-bottom: 20px;
                }

                &:nth-child(2) {
                  margin-bottom: 10px;
                }

                .insure-date1-col {
                  height: 40px;
                  .et-flex-normal();

                  .col-label {
                    width: 110px;
                    line-height: 40px;
                    height: 40px;
                    text-align: right;
                    padding-right: 12px;
                  }

                  .col-value {
                    .et-flex-normal();
                    line-height: 40px;

                    &.long-field {
                      width: 400px;
                    }
                  }
                }
              }
            }

            .remind-text-box {
              width: 100%;
              padding-bottom: 20px;
              border-bottom: 1px solid #e3e3e3;

              .remind-text {
                width: 100%;
                padding: 10px 0;
                background-color: rgba(@primary-color, .1);
                color: @primary-color;
                font-size: 12px;
                .et-flex-column-normal();

                .remind-text-row {
                  width: 100%;
                  .et-flex-normal();
                  line-height: 25px;

                  .icon {
                    height: 25px;
                    .et-flex-center();
                    line-height: 16px;
                    margin: 0 5px;
                    font-size: 16px;
                  }

                  .text {
                    flex: 1;
                  }
                }
              }
            }
          }

          .applicant {
            width: 100%;
            .et-flex-column-normal();

            .applicant-title {
              width: 100%;
              font-size: 18px;
              color: @primary-color;
              height: 21px;
              margin-top: 25px;
              .et-flex-start();

              span {
                flex-shrink: 0;
              }

              &::before {
                content: "";
                width: 4px;
                height: 21px;
                background-color: @primary-color;
                margin-right: 20px;
              }

              .applicant-type {
                flex: 1;
                padding: 0 10px;
                .et-flex-start();
                margin-left: 10px;
              }
            }

            .display_holder {
              width: 100%;
              margin-bottom: 20px;

              .policy_holder {
                width: 600px;
                margin: 20px auto auto;

                .invoice_type-tips {
                  font-size: 12px;
                  margin-left: 10px;
                  color: @primary-color;
                  line-height: 20px;
                }

                .invoice_header-tips,
                .taxpayer_identification_number-tips {
                  padding-left: 10px;
                  .et-flex-start();
                  color: @primary-color;

                  .icon {
                    font-size: 16px;
                    margin-right: 3px;
                  }

                  span {
                    cursor: pointer;
                  }
                }

                .invoice_header-tips2 {
                  margin-left: 120px;
                  color: red;
                }
              }
            }
          }
        }

        .insured {
          width: 100%;

          .insured-container {
            width: 100%;
            padding: 25px 0 30px;
            border-bottom: 1px solid #e3e3e3;

            .insured-header {
              width: 100%;
              .et-flex-start();

              .insured-title {
                .et-flex-start();

                &::before {
                  content: "";
                  width: 4px;
                  height: 21px;
                  background-color: @primary-color;
                  margin-right: 20px;
                }

                span {
                  font-size: 18px;
                  color: #fa7d29;
                  line-height: 21px;
                }
              }

              .header-tips {
                margin-left: 24px;
                color: red;
              }
            }

            .insured-toolbar {
              width: 100%;
              padding: 20px 0;
              border-bottom: 1px solid #e3e3e3;
              .et-flex-start();

              .toolbar-btn {
                padding: 5px 10px;
                line-height: 25px;
                font-size: 12px;
                border: 1px solid #e3e3e3;
                border-radius: 5px;
                background-color: #f8f8f9;
                color: #838383;
                cursor: pointer;

                &:not(:first-child) {
                  margin-left: 10px;
                }

                .et-flex-start();

                .icon {
                  font-size: 16px;
                  color: @primary-color;
                  margin-right: 5px;
                }

                &.filled {
                  background-color: @primary-color;
                  color: white;

                  .icon {
                    color: white;
                  }
                }

                &.longer {
                  padding: 5px 20px !important;
                }
              }
            }

            .operate {
              width: 100%;
              padding: 20px 0;

              .operate-container {
                width: 100%;
                .et-flex-spacebetween();

                span {
                  font-size: 16px;
                  color: #666;

                  .count {
                    color: @primary-color;
                  }
                }

                .clear-btn {
                  width: 80px;
                  font-size: 14px;
                  background-color: #e7f4f8;
                  color: @second-color;
                  border-radius: 8px;
                  text-align: center;
                  cursor: pointer;
                  height: 24px;
                  line-height: $height;
                }
              }

              .operate-tips {
                margin-top: 10px;
                line-height: 20px;
                color: red;
              }
            }

            .insured-table {
              width: 100%;
              box-sizing: border-box;
              border: 1px solid #ebeef5;

              .table-header {
                width: 100%;

                .table-cell {
                  font-weight: bold !important;
                }

                .et-flex-start();
              }

              .no-message {
                width: 100%;
                height: 60px;
                line-height: 60px;
                text-align: center;
                color: #909399;
                border-top: 1px solid #ebeef5;
              }

              .table-rows {
                width: 100%;
                .et-flex-column-normal();

                .table-row {
                  width: 100%;
                  border-top: 1px solid #ebeef5;
                  background-color: #f8fcfc;

                  &:hover {
                    background-color: #edf7f7;
                  }

                  .et-flex-start();

                  .field {
                    width: 100%;
                  }
                }
              }

              .table-col {
                padding: 12px 0;

                &:nth-child(1) {
                  width: 45px;
                  text-align: center;
                }

                &:nth-child(2) {
                  width: 130px;
                }

                &:nth-child(3) {
                  width: 130px;
                }

                &:nth-child(4) {
                  width: 190px;
                }

                &:nth-child(5) {
                  width: 130px;
                }

                &:nth-child(6) {
                  width: 160px;
                }

                &:nth-child(7) {
                  flex: 1;
                  text-align: center;
                  cursor: pointer;
                }

                .table-cell {
                  width: 100%;
                  color: #909399;
                  font-weight: 500;
                  box-sizing: border-box;
                  padding-right: 10px;
                }
              }
            }

            .pagination {
              width: 100%;
              margin: 20px 0 60px;
              .et-flex-center();
            }

            .error-lines {
              margin: 20px 0;
              border-top: 1px solid #e3e3e3;
              border-bottom: $border-top;

              .error-line {
                padding: 15px 0;

                &:not(:first-child) {
                  border-top: 1px solid #e3e3e3;
                }

                .et-flex-spacebetween();

                .line-msg {
                  flex: 1;
                }

                .line-error {
                  flex: 1;
                  line-height: 1.4;
                  color: #ff5151;

                  span {
                    font-size: @font-size-small;
                  }
                }
              }
            }
          }

          .text-describe {
            margin: 20px 0;
            width: 100%;
            background: #edf7f7;

            .text_content {
              width: 100%;
              box-sizing: border-box;
              padding: 20px;
              line-height: 24px;
              font-size: 12px;
            }
          }

          .agreement-read {
            width: 100%;
            margin: 30px 0;
            line-height: 24px;
            .et-flex-start();

            .checkbox {
              .et-flex-start();
              cursor: pointer;
              user-select: none;

              .icon {
                color: #606266;
                font-size: 16px;
                margin-right: 10px;
                border-radius: 4px;
                overflow: hidden;

                &.checked {
                  color: @primary-color;
                }
              }
            }

            .terms-list {
              .et-flex-start();

              .term-text {
                color: @primary-color;
                cursor: pointer;
              }
            }
          }

          .pay-type {
            width: 100%;
            .et-flex-column-normal();

            .amount-box {
              width: 100%;
              .et-flex-end();

              .premium {
                margin-left: 50px;
                .et-flex-start();

                .premium-label {
                  font-size: 18px;
                  margin-right: 5px;
                }

                .premium-price {
                  font-size: 24px;
                  font-weight: 700;
                  color: #fe4048;
                }

                &:nth-child(2) {
                  margin-top: 5px;

                  .premium-label {
                    font-size: 14px;
                  }

                  .premium-price {
                    font-size: 14px;
                    color: #d6d6d6;
                    text-decoration: line-through;
                  }
                }
              }
            }

            .pay-radio-group {
              width: 100%;
              margin-top: 20px;
              .et-flex-end();

              .pay-radio-item {
                margin-left: 60px;
                .et-flex-start();
                cursor: pointer;

                .pay-radio {
                  border: 1px solid #dcdfe6;
                  border-radius: 100%;
                  width: 14px;
                  height: 14px;
                  background-color: #fff;
                  position: relative;
                  box-sizing: border-box;

                  &:hover {
                    border-color: @primary-color;
                  }
                }

                .item-name {
                  width: 100px;
                }

                span {
                  color: #606266;
                  padding-left: 10px;
                }

                &.checked {
                  .pay-radio {
                    border-color: @primary-color;
                    background-color: @primary-color;
                    .et-flex-center();

                    &::after {
                      content: "";
                      width: 5px;
                      height: 5px;
                      border-radius: 5px;
                      background-color: white;
                    }
                  }

                  span {
                    color: @primary-color;
                  }
                }

                &.prohibit {
                  color: red;
                  cursor: not-allowed;
                }
              }
            }
          }

          .footer-btns {
            margin-top: 20px;
            width: 100%;
            height: 97px;
            background: #fffbf8;
            .et-flex-center();

            .submit-btn {
              width: 130px;
              height: 45px;
              background-color: @primary-color;
              border-radius: 5px;
              font-size: 18px;
              margin-right: 20px;
              cursor: pointer;
              line-height: $height;
              text-align: center;
              color: white;
            }

            .save-btn {
              font-size: 16px;
              margin-left: 5px;
              text-decoration: underline;
              color: #888;
              font-weight: bold;
              cursor: pointer;
            }
          }
        }
      }
    }

    .insure-content-right {
      position: sticky;
      top: 0;
      width: 272px;
      background-color: white;
      border-top: 5px solid @primary-color;
      font-size: 16px;

      .plan {
        padding: 20px 20px 0;
        font-size: 18px;
        line-height: 25px;
        color: #777;
      }

      .single-information {
        width: 100%;
        background-color: #fffbf8;
        .et-flex-column-center();

        .information-item {
          width: 100%;
          box-sizing: border-box;
          padding: 10px 20px;
          .et-flex-start();

          .company {
            line-height: 25px;
            color: rgb(102, 102, 102);
          }

          .icon {
            font-size: 16px !important;
            color: @primary-color !important;
            margin-right: 15px;
          }
        }
      }

      .insure-money {
        padding: 15px 20px;
        .et-flex-spacebetween();
        border-bottom: 1px solid #e3e3e3;
        font-size: 16px;

        .money {
          font-size: 24px;
          font-weight: 700;
          color: #fe4048;
        }
      }

      .slide-payType {
        width: 100%;
        box-sizing: border-box;
        padding: 0 20px;

        .pay-radio-group {
          width: 100%;
          font-size: 14px;
          padding: 10px 0;
          .et-flex-column-normal();

          .pay-radio-item {
            .et-flex-start();
            padding: 8px 0;
            cursor: pointer;

            .pay-radio {
              border: 1px solid #dcdfe6;
              border-radius: 100%;
              width: 14px;
              height: 14px;
              background-color: #fff;
              position: relative;
              box-sizing: border-box;

              &:hover {
                border-color: @primary-color;
              }
            }

            span {
              color: #606266;
              padding-left: 10px;
            }

            &.checked {
              .pay-radio {
                border-color: @primary-color;
                background-color: @primary-color;
                .et-flex-center();

                &::after {
                  content: "";
                  width: 5px;
                  height: 5px;
                  border-radius: 5px;
                  background-color: white;
                }
              }

              span {
                color: @primary-color;
              }
            }
          }
        }
      }

      .commitBtn {
        width: 100%;
        margin: 25px 0 15px;
        .et-flex-column-start();

        .submit-btn {
          width: 162px;
          height: 45px;
          border-radius: 5px;
          font-size: 18px;
          line-height: $height;
          text-align: center;
          color: white;
          background-color: @primary-color;
          cursor: pointer;
        }

        .save-btn {
          margin-top: 15px;
          width: 162px;
          line-height: 38px;
          text-align: center;
          font-size: 16px;
          margin-left: 5px;
          text-decoration: underline;
          color: #888;
          font-weight: bold;
          cursor: pointer;
        }
      }
    }
  }
}

.prohibit {
  pointer-events: none;
  cursor: not-allowed;
  color: #c0c4cc;
}

.statement-floating {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .3);

  .statement-card {
    width: 700px;
    margin: 15vh auto 50px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);

    .statement-card-header {
      width: 100%;
      height: 64px;
      box-sizing: border-box;
      padding: 20px;
      background-color: #f5f5f5;
      .et-flex-spacebetween();

      .title {
        font-size: 18px;
        color: #303133;
        line-height: 24px;
      }

      .delete-icon {
        font-size: 16px;
        color: #909399;
      }
    }

    .statement-card-content {
      width: 100%;
      box-sizing: border-box;
      padding: 30px 20px;
      color: #606266;
      text-indent: 30px;
      line-height: 20px;
    }

    .statement-card-footer {
      width: 100%;
      box-sizing: border-box;
      padding: 10px 20px 20px;
      .et-flex-end();

      .statement-btn {
        padding: 12px 20px;
        background-color: @primary-color;
        color: white;
        cursor: pointer;
        line-height: 1;
        font-weight: 500;
      }
    }
  }

  .loading-box {
    width: @content-width;
    margin: 35vh auto 50px;

    .content {
      .et-flex-column-center();

      .icon {
        font-size: 100px;
        color: white;
      }

      .text {
        font-size: 20px;
        font-weight: bold;
        color: white;
        margin-top: 15px;
      }
    }
  }
}

.taxpayer_identification_number-tips-popover {
  color: rgba(@primary-color, .7);
  font-size: 12px;
  line-height: 1;
}